import { createApp } from 'vue'
import store from '@/store/index';
import App from './App.vue'
import router  from './router/index';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as echarts from "echarts";
import languageMap from './language/map';
import "nprogress/nprogress.css";
// 引入i18n
import VueI18n from "./language/index";
const app = createApp(App);
app.config.globalProperties.$echarts = echarts;
app.config.globalProperties.$languageMap = languageMap;
app.use(ElementPlus)
app.use(router)
app.use(store)
app.use(VueI18n)
.mount('#app')

